 page
* ---- added call $41 & its count - see rev note 20 --------
scnums equ *
 dfb $d3,0,0,0 ;(zeros are reserved for bfm)
 dfb $40,$41,$00,0 ;(zero is reserved for interrupt calls)
 dfb $80,$81,$82,$65
 dfb $c0,$c1,$c2,$c3
 dfb $c4,$c5,$c6,$c7
 dfb $c8,$c9,$ca,$cb
 dfb $cc,$cd,$ce,$cf
 dfb $00,$d0,$d1,$d2 ;zero is non-existant. 
*
pcntbl equ * ;parameter counts for the calls 
 dfb 2,$ff,$ff,$ff
 dfb 2,1,$ff,$ff
 dfb 3,3,0,4 
 dfb 7,1,2,7
 dfb $a,2,1,1
 dfb 3,3,4,4
 dfb 1,1,2,2
 dfb $ff,2,2,2
*
 page
*
************** see rev note #en2 *****************
*
 ifeq os-ednet
atcmdtable equ *
 dw atcreate
 dw atdestroy
 dw atrename
 dw atsetinfo
 dw atgetinfo
 dw atonline 
 dw atsetprefx
 dw atgetprefx
 dw atopen
 dw atnewline
 dw atread
 dw atwrite
 dw atclose
 dw atflush
 dw atsetmark
 dw atgetmark
 dw atseteof
 dw atgeteof
 dw atsetbuf
 dw atgetbuf
 fin
*
**********************************
*
cmdtable equ *
 dw create
 dw destroy
 dw rename
 dw setinfo
 dw getinfo
 dw online 
 dw setprefx
 dw getprefx
 dw open
 dw newline
 dw read
 dw write
 dw close
 dw flush
 dw setmark
 dw getmark
 dw seteof
 dw geteof
 dw setbuf
 dw getbuf
*
disptch equ *
 dfb prepath+pretime+0 ;create
 dfb prepath+pretime+1 ;destroy
 dfb prepath+pretime+2 ;rename
 dfb prepath+pretime+3 ;setinfo
 dfb prepath+4 ;getinfo
 dfb 5 ;volume
 dfb 6 ;setprefix, pathname moved to prefix buffer
 dfb 7 ;getprefix
 dfb prepath+8 ;open
 dfb preref+$9 ;newline
 dfb preref+$a ;read
 dfb preref+$b ;write
 dfb pretime+$c ;close
 dfb pretime+$d ;flush, refnum may be zero to flush all.
 dfb preref+$e ;setmark
 dfb preref+$f ;getmark
 dfb preref+$10 ;set eof
 dfb preref+$11 ;get eof
 dfb preref+$12 ;set buffer address (move)
 dfb preref+$13 ;get buffer address 
*
 page
dinctbl dfb 1,0,0,2,0 ;table to increment directory usage/eof counts.
*
*
pass dfb $75
;asc "huston!"
*
*
sostmpl dfb 0
sostmph dfb 0
*
xdosver dfb $0,0,$c3,$27,$d,0,0,0 
compat equ xdosver+1
*
rootstuf dfb $f,2,0,4
 dfb 0,0,8,0
*
*
whichbit dfb $80,$40,$20,$10
 dfb 8,4,2,1
*
*
* the following table is used in the 'open5' loop (posn/open). 
*
ofcbtbl dfb fcbfrst,fcbfrst+1,fcbuse,fcbuse+1
 dfb fcbeof,fcbeof+1,fcbeof+2
*
* the following with $80+ are ignored by setinfo 
*
inftabl dfb d.attr,d.filid,d.auxid,d.auxid+1
 dfb $80+d.stor,$80+d.usage,$80+d.usage+1,d.moddt
 dfb d.moddt+1,d.modtm,d.modtm+1,d.credt 
 dfb d.credt+1,d.cretm,d.cretm+1
*
 msb on 
*
********************* see rev note #36 *********************
*
death asc " RESTART SYSTEM    " 
************************************************************
 msb off
*
******************* see rev note #en2 **********************
*
 ifeq os-ednet
atalkstr asc 'ATALK'
 fin
***********************************************************
